#target photoshop
var psd = app.open(new File("{{psd_path}}"));

{{text_replacements}}

{{image_replacements}}

psd.saveAs(new File("{{output_psd_path}}"));

{{export_png_block}}

psd.close(SaveOptions.DONOTSAVECHANGES);